import getlink from "../../apis/getapi";
export let xiaoxi={
    state:{
        text1:"",
        text2:""
    },
    mutations:{
        xiaoxiA(state,payload){
            state.text1=payload.data1
            state.text2=payload.data2
        }
    },
    actions:{
        xiaoxiH(context,payload){
            getlink(payload.url).then((ok)=>{
                // console.log(ok.data.data2);
                context.commit("xiaoxiA",ok.data)
            })
        }
    },
    getters:{

    }
}